import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { EVIPType } from "../Public/EVIPType";
type int = number;
//class SVIPInfo
    
    export  class SVIPInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SVIPInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            this.VIPType.__write(arg1);
            arg1.writeDate(this.endDt);
            arg1.writeInt(this.shoe);
            arg1.writeInt(this.trumpet);
            arg1.writeInt(this.revive);
            arg1.writeInt(this.enterCopy);
            arg1.writeInt(this.loopBookTimes);
            arg1.writeInt(this.transportTimes);
            arg1.writeInt(this.bless);
            arg1.writeInt(this.rewards);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.VIPType = EVIPType.__read(arg1);
            this.endDt = arg1.readDate();
            this.shoe = arg1.readInt();
            this.trumpet = arg1.readInt();
            this.revive = arg1.readInt();
            this.enterCopy = arg1.readInt();
            this.loopBookTimes = arg1.readInt();
            this.transportTimes = arg1.readInt();
            this.bless = arg1.readInt();
            this.rewards = arg1.readInt();
            return;
        }

        public /* const */_type: int=12063;

        public /* var */VIPType: EVIPType;

        public /* var */endDt: Date;

        public /* var */shoe: int;

        public /* var */trumpet: int;

        public /* var */revive: int;

        public /* var */enterCopy: int;

        public /* var */loopBookTimes: int;

        public /* var */transportTimes: int;

        public /* var */bless: int;

        public /* var */rewards: int;

        public static /* var */_regist: SVIPInfo;
    }

            SVIPInfo._regist = new SVIPInfo(true);
        